package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.ProductProcess;
import com.woniuxy.mesboot.mapper.ProductProcessMapper;
import com.woniuxy.mesboot.service.productProcessService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class productProcessServiceImpl implements productProcessService {

    @Resource
    private ProductProcessMapper productProcessMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return productProcessMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ProductProcess record) {
        return productProcessMapper.insert(record);
    }

    @Override
    public int insertSelective(ProductProcess record) {
        return productProcessMapper.insertSelective(record);
    }

    @Override
    public ProductProcess selectByPrimaryKey(Long id) {
        return productProcessMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ProductProcess record) {
        return productProcessMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProductProcess record) {
        return productProcessMapper.updateByPrimaryKey(record);
    }
}
